<%-- 头部通用代码 --%>
<%@ page language="java" contentType="text/html;charset=UTF-8" isELIgnored="false"%>
<%@ page trimDirectiveWhitespaces="true" %>
<%@ include file="/commons/global.jsp" %>
<meta charset="utf-8" />
<meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" name="viewport">
<meta name="format-detection" content="telephone=no,email=no,adress=no">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="永乐票务">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta http-equiv="Cache-Control" content="no-siteapp">
<meta name="apple-touch-fullscreen" content="yes">
<%--
<meta name="browsermode" content="application"/>
<meta name="x5-page-mode" content="app"/>
 --%>
<meta name="renderer" content="webkit">
<link rel="shortcut icon" href="${staticPath}/favicon.ico"/>
<link rel="apple-touch-icon" sizes="57x57" href="${staticPath}/resources/images/touch-icon.png">
<link rel="stylesheet" type="text/css" href="${staticPath}/resources/css/reset${min}.css${v}">
<script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js"></script>
<%--百度轻应用api --%>
<script type="text/javascript">
var _oztime = new Date().getTime();
var path = "${path}";
var domain = "${domain}";
// 链接跳转
function linkTo(link){
    window.location.href = "${path}" + link;
}
<%--百度框内的域名问题 --%>
if (/baiduboxapp/i.test(navigator.userAgent) && location.hostname != 'h5.228.cn') {
    location.replace(location.href.replace(location.hostname, 'h5.228.cn'));
}
<%-- 解决.com.cn推广丢来源 --%>
if (location.hostname == 'm.228.com.cn') {
    location.replace(location.href.replace(location.hostname, 'm.228.cn'));
}
<%-- 百度统计 --%>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?fb51559eadf6d9af34a1951528ee6dff";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
<%-- 百度统计 --%>
</script>
<%-- 各个联盟需要隐藏头尾css处理 --%>
<style type="text/css">
<c:if test="${isBaiduApp eq '1' }">
#js_search,.head,.prev,.back-btn{display:none !important;}
</c:if>
<c:if test="${sessionScope.unionInfo ne null && sessionScope.unionInfo.unionId ne '50626575' && sessionScope.unionInfo.unionId ne '50528423'}">
#js_search,.head,.foot-ver,.foot-yl{display:none !important;}
</c:if>
</style>